﻿using System;

namespace Matrix.MaKaYunShang.Model
{
	/// <summary>
	///PaymentRecords
	/// </summary>
	public class PaymentRecords
	{
		#region 默认属性
      	/// <summary>
		/// Id
        /// </summary>		
        public int Id { get; set; }        
		/// <summary>
		/// 订单ID
        /// </summary>		
        public int OrderId { get; set; }        
		/// <summary>
		/// 预支付ID
        /// </summary>		
        public string PrePayId { get; set; }        
		/// <summary>
		/// 支付本地流水号
        /// </summary>		
        public string LocalTransactionId { get; set; }        
		/// <summary>
		/// 微信支付流水号
        /// </summary>		
        public string WechatTransactionId { get; set; }        
		/// <summary>
		/// 支付价格
        /// </summary>		
        public decimal PayPrice { get; set; }        
		/// <summary>
		/// 支付结果 0 未支付 1 支付成功 2支付失败
        /// </summary>		
        public int PayResult { get; set; }        
		/// <summary>
		/// 支付结果描述
        /// </summary>		
        public string PayResultDescption { get; set; }        
		/// <summary>
		/// 记录添加时间
        /// </summary>		
        public DateTime AddTime { get; set; }        
		        
		/// <summary>
		/// 支付接口返回内容
        /// </summary>		
        public string CallBackContent { get; set; }        
		/// <summary>
		/// 支付平台ID
        /// </summary>		
        public int PayPlatformId { get; set; }        
		/// <summary>
		/// IpAddress
        /// </summary>		
        public string IpAddress { get; set; }        
		/// <summary>
		/// 经度
        /// </summary>		
        public string Longitude { get; set; }        
		/// <summary>
		/// 纬度
        /// </summary>		
        public string Latitude { get; set; }        
		/// <summary>
		/// IsDelete
        /// </summary>		
        public bool IsDelete { get; set; }        
				#endregion
		
		#region 扩展属性
        /// <summary>
        /// 支付接口返回时间
        /// </summary>		
        public DateTime? CallBackTime { get; set; }
        /// <summary>
        /// 支付完成时间
        /// </summary>		
        public DateTime? FinishPayTime { get; set; }
		#endregion
	}
}